/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dieci.database.returns;

import dieci.database.BaseHibernateDAO;
import dieci.system.Order;
import dieci.system.Return;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Blanco
 */
public interface ReturnDAO extends BaseHibernateDAO
{
    public List<Return> list();
    public Return findByReturnId(long id);
    public List<Return> findByReturnDateRange(Date start, Date end);
    public List<Return> findBySupplierName(String supplierName);
    public List<Return> findByOrder(Order order);
    
}
